import request from '@/utils/request'

// 查询订单列表
export function listInfo(query) {
    return request({
        url: '/order/orderInfo/list',
        method: 'get',
        params: query
    })
}

// 查询订单详细
export function getInfo(id) {
    return request({
        url: '/order/orderInfo/' + id,
        method: 'get'
    })
}


// 智能报表数据查询接口
export function GetOrderStatisticsData1(keywordText) {
    return request({
        url: '/report/getAiReport/' + keywordText,
        method: 'get'
    })
}

export function GetOrderStatisticsData2(dataKey) {
    return request({
        url: '/report/getDataAiReport/' + dataKey,
        method: 'get'
    })
}